﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using XCommunity.Metas;
using XCommunity.Members;

namespace XCommunity.Golds
{

  [Meta( PersisterType = typeof( GoldAccountService ), ContainerType = typeof( Member ) )]
  public sealed class GoldAccount
  {

    public GoldAccount( string username )
    {
      _username = username;
    }


    private string _username;

    public string Username
    {
      get { return _username; }
    }

    public int GoldCoins
    {
      get;
      private set;
    }
  }
}
